package com.edu.marker.dao;

import android.net.Uri;
import android.provider.BaseColumns;

public class DataCenter {

	public static final String CONTENT_AUTHORITY = "com.edu.marker";
	private static final Uri DATA_URI = Uri.parse("content://" + CONTENT_AUTHORITY);

	interface PaperColumns {
		String QUESTION_ID = "question_id";
		String QUESTION_TITLE = "question_title";
		String QUESTION_BODY = "question_body";
		String QUESTION_TIME = "question_time";
		String QUESTION_SAVE = "question_saved";
		String QUESTION_READ = "question_read";
	}
	

	public static class Questions implements BaseColumns, PaperColumns {
		public static final String PATH = "question";
		public static final Uri CONTENT_URI = DATA_URI.buildUpon().appendPath(PATH).build();
		public static final String CONTENT_TYPE ="vnd.android.cursor.dir/vnd.edu.marker";
        public static final String CONTENT_MESSAGE_TYPE ="vnd.android.cursor.item/vnd.edu.marker";
	}
}
